package com.onepice.mlp.utils.enums;

import lombok.Getter;

/**
 * SysLogType
 *
 * @author wangzhao
 * @version v1.1
 * @date 2021年7月14日
 */
public enum SyslogType {
    USER_LOGIN(10, "登录平台"),
    CHANGE_PW(11, "修改密码"),
    ADD_USER(12, "添加用户"),
    DELETE_USER(13, "删除用户"),
    RESET_PW(14, "重置密码"),

    ADD_SITE(20, "添加站点"),
    DELETE_SITE(21, "删除站点"),
    ADD_PARAM(22, "添加参数"),
    DELETE_PARAM(23, "删除参数"),
    ADD_GROUP(24, "添加分组"),
    DELETE_GROUP(25, "删除分组");

    @Getter
    private final Integer value;

    @Getter
    private final String name;

    SyslogType(Integer value, String name) {
        this.value = value;
        this.name = name;
    }
}
